<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/include/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title><%=system_name%> - 公司信息编辑</title>
	<%@include file="/WEB-INF/jsp/include/meta.jsp"%>
	
	<link href="<%=basePath%>css/public.css" rel="stylesheet" type="text/css">
	<link href="<%=basePath%>css/index.css" rel="stylesheet" type="text/css">
	<link href="<%=basePath%>css/common.css" rel="stylesheet" type="text/css" />
	<script src="<%=basePath%>js/common.js" type="text/javascript"></script>
	
	<script type="text/javascript">
	function beforeSubmit(){			
		var companyName=$("name").value;
		if(""==companyName){alert("公司名称不能为空!");return false;}
		//if(productNo.length>100){alert("货号长度不能超过100个字");return false;}
		//if($N("unit")[0].value.length>50){alert("计量单位不能操作50个字");return false;}
		//if($N("details")[0].value.length>300){alert("船方自购物料不能操作300个字");return false;}
		//if($N("remark")[0].value.length>300){alert("备注不能操作300个字");return false;}
		
		//window.parent.loading(true);
			
		return true;
	}
		
	</script>
</head>

<body oncontextmenu='return false'>

<%@include file="/WEB-INF/jsp/include/head.jsp"%>

<div class="wrap100">

	<%@include file="/WEB-INF/jsp/include/left.jsp"%>	

	<!--right begin-->
    <div class="fl right">
 
 			<div class="full">
    		<!--产品详细信息 begin-->	
    		<div class="titleBg">
            	<div class="fl"><img src="images/rightTitleLeft.jpg" alt="left" /></div>
            	<div class="fl title"><span class="marking1"></span>公司信息编辑</div>
                <div class="fr"><img src="images/rightTitleRight.jpg" alt="left" /></div>                
            </div>
            <div id="clear"></div>
            <form:form action="" method="post" name="myform" onsubmit="return beforeSubmit();">
            <div class="rightBorder">
            
            
            <table width="75%" border="0" align="center" cellpadding="3" cellspacing="0">
	            <tr><th width="100">公司名称：</th><td colspan="3"><input type="text" name="name" id="name" size="100" class="input" value="${command.name}" maxlength="200"/>
				<input type="hidden" name="Id0" id="id" value="${command.id}" /></td>
				<tr><th>联系电话：</th><td><input type="text" name="tel" id="tel" size="50" class="input" value="${command.tel}" maxlength="100"/></td>
					<th>联系传真：</th><td><input type="text" name="fax" id="fax" size="30" class="input" value="${command.fax}" maxlength="30"/></td>
				<tr>
					<th>Email：</th><td><input type="text" name="email" id="email" size="30" class="input" value="${command.email}" maxlength="30"/></td>
					<th>MSN：</th><td><input type="text" name="msn" id="msn" size="30" class="input" value="${command.msn}" maxlength="50"/></td>
				</tr>
				<tr><th>网址：</th><td><input type="text" name="website" id="website" size="50" class="input" value="${command.website}" maxlength="200"/></td>
					<th>邮编：</th><td><input type="text" name="zipcode" id="zipcode" size="30" class="input" value="${command.zipcode}" maxlength="30"/></td>
				</tr>
				<tr><th>办公地址：</th><td><input type="text" name="address" id="address" size="50" class="input" value="${command.address}" maxlength="200"/></td>
					<th>工厂地址：</th><td><input type="text" name="factory" id="factory" size="30" class="input" value="${command.factory}" maxlength="30"/></td>
				</tr>
					
            </table>
            
    		</div>

    		           <!--统计 end-->
            <div class="total">
                
                <div class="fr Operating">                
                    <ul>
                        <li><input name="修 改" type="submit" class="button" value="修 改"/></li>                                                
                    </ul>               
                
                </div>
            </div>
 </form:form>
            <!--统计 end-->
            
    </div>
	
</div>  
   
</div>

<%@include file="/WEB-INF/jsp/include/bottom.jsp"%>
</body>
</html>
